package com.tlias.service;


import com.tlias.pojo.Dept;
import org.apache.ibatis.annotations.Mapper;
import org.springframework.stereotype.Service;

import java.util.List;

public interface DeptService {

    //查找
    List<Dept> selectDept();

    //删除
    void deleteById(Integer id);

    //添加
    void addDept(Dept dept);

    //更改
    void updateDept(Dept dept);

    //id查找
    Dept findById(Integer id);


}
